.class Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;
.super Ljava/lang/Object;
.source "OrderDetFrameActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/wmr/order/OrderDetFrameActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "mOnclistner"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/wmr/order/OrderDetFrameActivity;


# direct methods
.method private constructor <init>(Lcom/wmr/order/OrderDetFrameActivity;)V
    .locals 0

    .prologue
    .line 340
    iput-object p1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/wmr/order/OrderDetFrameActivity;Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;)V
    .locals 0

    .prologue
    .line 340
    invoke-direct {p0, p1}, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;-><init>(Lcom/wmr/order/OrderDetFrameActivity;)V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .param p1, "v"    # Landroid/view/View;
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    .prologue
    .line 346
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v1

    sparse-switch v1, :sswitch_data_0

    .line 378
    :cond_0
    :goto_0
    return-void

    .line 348
    :sswitch_0
    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    # getter for: Lcom/wmr/order/OrderDetFrameActivity;->viewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v1}, Lcom/wmr/order/OrderDetFrameActivity;->access$0(Lcom/wmr/order/OrderDetFrameActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    goto :goto_0

    .line 353
    :sswitch_1
    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    # getter for: Lcom/wmr/order/OrderDetFrameActivity;->viewPager:Landroid/support/v4/view/ViewPager;
    invoke-static {v1}, Lcom/wmr/order/OrderDetFrameActivity;->access$0(Lcom/wmr/order/OrderDetFrameActivity;)Landroid/support/v4/view/ViewPager;

    move-result-object v1

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    goto :goto_0

    .line 356
    :sswitch_2
    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    invoke-virtual {v1}, Lcom/wmr/order/OrderDetFrameActivity;->finish()V

    goto :goto_0

    .line 359
    :sswitch_3
    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    invoke-virtual {v1}, Lcom/wmr/order/OrderDetFrameActivity;->orderdo()V

    goto :goto_0

    .line 362
    :sswitch_4
    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    # getter for: Lcom/wmr/order/OrderDetFrameActivity;->OrderBean2:Lbean/OrderBean2;
    invoke-static {v1}, Lcom/wmr/order/OrderDetFrameActivity;->access$1(Lcom/wmr/order/OrderDetFrameActivity;)Lbean/OrderBean2;

    move-result-object v1

    invoke-virtual {v1}, Lbean/OrderBean2;->getShopphone()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->isEmpty()Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    # getter for: Lcom/wmr/order/OrderDetFrameActivity;->OrderBean2:Lbean/OrderBean2;
    invoke-static {v1}, Lcom/wmr/order/OrderDetFrameActivity;->access$1(Lcom/wmr/order/OrderDetFrameActivity;)Lbean/OrderBean2;

    move-result-object v1

    invoke-virtual {v1}, Lbean/OrderBean2;->getShopphone()Ljava/lang/String;

    move-result-object v1

    const-string v2, ""

    if-eq v1, v2, :cond_0

    .line 366
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.intent.action.CALL"

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "tel:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 367
    iget-object v3, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    # getter for: Lcom/wmr/order/OrderDetFrameActivity;->OrderBean2:Lbean/OrderBean2;
    invoke-static {v3}, Lcom/wmr/order/OrderDetFrameActivity;->access$1(Lcom/wmr/order/OrderDetFrameActivity;)Lbean/OrderBean2;

    move-result-object v3

    invoke-virtual {v3}, Lbean/OrderBean2;->getShopphone()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 366
    invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v2

    .line 365
    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V

    .line 368
    .local v0, "intent":Landroid/content/Intent;
    iget-object v1, p0, Lcom/wmr/order/OrderDetFrameActivity$mOnclistner;->this$0:Lcom/wmr/order/OrderDetFrameActivity;

    invoke-virtual {v1, v0}, Lcom/wmr/order/OrderDetFrameActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 346
    :sswitch_data_0
    .sparse-switch
        0x7f07000c -> :sswitch_2
        0x7f070083 -> :sswitch_4
        0x7f070084 -> :sswitch_0
        0x7f070085 -> :sswitch_1
        0x7f07008a -> :sswitch_3
    .end sparse-switch
.end method
